﻿import QtQuick 2.15
import QtQuick.Controls 2.15
/*
  任意位置补偿
*/

Item {
    id:backGround
    width: screenWidth
    height: 1600

    Rectangle{
        anchors.fill: backGround
        color: "#00BFFF"
        border.width: 5
        border.color: "#F0F8FF"
    }

    onVisibleChanged: {
        if(visible === true)
        {
            Cpp_Connect.pageNumber = 17
        }
    }

    Text{
        anchors.left: backGround.left
        anchors.leftMargin: 80
        anchors.top: backGround.top
        anchors.topMargin: 30
        font.pixelSize: 30
        font.bold: true
        text: qsTr("位置下限")
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 80
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_01_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit01_Any
        }

        TextInput{          // 位置下限 01
            id: wzxx_01_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1750",wzxx_01_Input.text)
                wzxx_01_Text.visible = true
                wzxx_01_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_01_Input.forceActiveFocus()
                wzxx_01_Input.text = wzxx_01_Text.text
                wzxx_01_Input.visible = true
                wzxx_01_Text.visible = false
                wzxx_01_Input.selectAll();
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 155
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_02_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit02_Any
        }

        TextInput{          // 位置下限 02
            id: wzxx_02_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1756",wzxx_02_Input.text)
                wzxx_02_Text.visible = true
                wzxx_02_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_02_Input.forceActiveFocus()
                wzxx_02_Input.text = wzxx_02_Text.text
                wzxx_02_Input.visible = true
                wzxx_02_Text.visible = false
                wzxx_02_Input.selectAll()
            }
        }
    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 230
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_03_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit03_Any
        }

        TextInput{          // 位置下限 03
            id: wzxx_03_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1762",wzxx_03_Input.text)
                wzxx_03_Text.visible = true
                wzxx_03_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_03_Input.forceActiveFocus()
                wzxx_03_Input.text = wzxx_03_Text.text
                wzxx_03_Input.visible = true
                wzxx_03_Text.visible = false
                wzxx_03_Input.selectAll()
            }
        }
    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 305
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_04_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit04_Any
        }

        TextInput{          // 位置下限 04
            id: wzxx_04_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_04_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1768",wzxx_04_Input.text)
                wzxx_04_Text.visible = true
                wzxx_04_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_04_Input.forceActiveFocus()
                wzxx_04_Input.text = wzxx_04_Text.text
                wzxx_04_Input.visible = true
                wzxx_04_Text.visible = false
                wzxx_04_Input.selectAll()
            }
        }
    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 380
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_05_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit05_Any
        }

        TextInput{          // 位置下限 05
            id: wzxx_05_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_05_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1774",wzxx_05_Input.text)
                wzxx_05_Text.visible = true
                wzxx_05_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_05_Input.forceActiveFocus()
                wzxx_05_Input.text = wzxx_05_Text.text
                wzxx_05_Input.visible = true
                wzxx_05_Text.visible = false
                wzxx_05_Input.selectAll()
            }
        }
    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 455
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_06_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit06_Any
        }

        TextInput{          // 位置下限 06
            id: wzxx_06_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_06_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1780",wzxx_06_Input.text)
                wzxx_06_Text.visible = true
                wzxx_06_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_06_Input.forceActiveFocus()
                wzxx_06_Input.text = wzxx_06_Text.text
                wzxx_06_Input.visible = true
                wzxx_06_Text.visible = false
                wzxx_06_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 530
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_07_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit07_Any
        }

        TextInput{          // 位置下限 07
            id: wzxx_07_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_07_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1786",wzxx_07_Input.text)
                wzxx_07_Text.visible = true
                wzxx_07_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_07_Input.forceActiveFocus()
                wzxx_07_Input.text = wzxx_07_Text.text
                wzxx_07_Input.visible = true
                wzxx_07_Text.visible = false
                wzxx_07_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 605
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_08_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit08_Any
        }

        TextInput{          // 位置下限 08
            id: wzxx_08_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_08_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1792",wzxx_08_Input.text)
                wzxx_08_Text.visible = true
                wzxx_08_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_08_Input.forceActiveFocus()
                wzxx_08_Input.text = wzxx_08_Text.text
                wzxx_08_Input.visible = true
                wzxx_08_Text.visible = false
                wzxx_08_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 680
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_09_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit09_Any
        }

        TextInput{          // 位置下限 09
            id: wzxx_09_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_09_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1798",wzxx_09_Input.text)
                wzxx_09_Text.visible = true
                wzxx_09_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_09_Input.forceActiveFocus()
                wzxx_09_Input.text = wzxx_09_Text.text
                wzxx_09_Input.visible = true
                wzxx_09_Text.visible = false
                wzxx_09_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 755
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_10_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit10_Any
        }

        TextInput{          // 位置下限 10
            id: wzxx_10_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_10_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1804",wzxx_10_Input.text)
                wzxx_10_Text.visible = true
                wzxx_10_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_10_Input.forceActiveFocus()
                wzxx_10_Input.text = wzxx_10_Text.text
                wzxx_10_Input.visible = true
                wzxx_10_Text.visible = false
                wzxx_10_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 830
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_11_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit11_Any
        }

        TextInput{          // 位置下限 11
            id: wzxx_11_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_11_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1810",wzxx_11_Input.text)
                wzxx_11_Text.visible = true
                wzxx_11_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_11_Input.forceActiveFocus()
                wzxx_10_Input.text = wzxx_10_Text.text
                wzxx_11_Input.visible = true
                wzxx_11_Text.visible = false
                wzxx_11_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 905
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_12_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit12_Any
        }

        TextInput{          // 位置下限 12
            id: wzxx_12_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_12_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1816",wzxx_12_Input.text)
                wzxx_12_Text.visible = true
                wzxx_12_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_12_Input.forceActiveFocus()
                wzxx_12_Input.text = wzxx_12_Text.text
                wzxx_12_Input.visible = true
                wzxx_12_Text.visible = false
                wzxx_12_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 980
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_13_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit13_Any
        }

        TextInput{          // 位置下限 13
            id: wzxx_13_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_13_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1822",wzxx_13_Input.text)
                wzxx_13_Text.visible = true
                wzxx_13_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_13_Input.forceActiveFocus()
                wzxx_13_Input.text = wzxx_13_Text.text
                wzxx_13_Input.visible = true
                wzxx_13_Text.visible = false
                wzxx_13_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 1055
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_14_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit14_Any
        }

        TextInput{          // 位置下限 14
            id: wzxx_14_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_14_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1828",wzxx_14_Input.text)
                wzxx_14_Text.visible = true
                wzxx_14_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_14_Input.forceActiveFocus()
                wzxx_14_Input.text = wzxx_14_Text.text
                wzxx_14_Input.visible = true
                wzxx_14_Text.visible = false
                wzxx_14_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 1130
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_15_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit15_Any
        }

        TextInput{          // 位置下限 15
            id: wzxx_15_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_15_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1834",wzxx_15_Input.text)
                wzxx_15_Text.visible = true
                wzxx_15_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_15_Input.forceActiveFocus()
                wzxx_15_Input.text = wzxx_15_Text.text
                wzxx_15_Input.visible = true
                wzxx_15_Text.visible = false
                wzxx_15_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 1205
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_16_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit16_Any
        }

        TextInput{          // 位置下限 16
            id: wzxx_16_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_16_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1840",wzxx_16_Input.text)
                wzxx_16_Text.visible = true
                wzxx_16_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_16_Input.forceActiveFocus()
                wzxx_16_Input.text = wzxx_16_Text.text
                wzxx_16_Input.visible = true
                wzxx_16_Text.visible = false
                wzxx_16_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 1280
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_17_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit17_Any
        }

        TextInput{          // 位置下限 17
            id: wzxx_17_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_17_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1846",wzxx_17_Input.text)
                wzxx_17_Text.visible = true
                wzxx_17_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_17_Input.forceActiveFocus()
                wzxx_17_Input.text = wzxx_17_Text.text
                wzxx_17_Input.visible = true
                wzxx_17_Text.visible = false
                wzxx_17_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 1355
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_18_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit18_Any
        }

        TextInput{          // 位置下限 18
            id: wzxx_18_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_18_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1852",wzxx_18_Input.text)
                wzxx_18_Text.visible = true
                wzxx_18_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_18_Input.forceActiveFocus()
                wzxx_18_Input.text = wzxx_18_Text.text
                wzxx_18_Input.visible = true
                wzxx_18_Text.visible = false
                wzxx_18_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 1430
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_19_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit19_Any
        }

        TextInput{          // 位置下限 19
            id: wzxx_19_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_19_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1858",wzxx_19_Input.text)
                wzxx_19_Text.visible = true
                wzxx_19_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_19_Input.forceActiveFocus()
                wzxx_19_Input.text = wzxx_19_Text.text
                wzxx_19_Input.visible = true
                wzxx_19_Text.visible = false
                wzxx_19_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 40
        anchors.top: backGround.top
        anchors.topMargin: 1505
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzxx_20_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_DownLimit20_Any
        }

        TextInput{          // 位置下限 20
            id: wzxx_20_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzxx_20_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1864",wzxx_20_Input.text)
                wzxx_20_Text.visible = true
                wzxx_20_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzxx_20_Input.forceActiveFocus()
                wzxx_20_Input.text = wzxx_20_Text.text
                wzxx_20_Input.visible = true
                wzxx_20_Text.visible = false
                wzxx_20_Input.selectAll()
            }
        }
    }

    Text{
        anchors.left: backGround.left
        anchors.leftMargin: 300
        anchors.top: backGround.top
        anchors.topMargin: 30
        font.pixelSize: 30
        font.bold: true
        text: qsTr("位置上限")
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 80
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_01_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit01_Any
        }

        TextInput{          // 位置下限 01
            id: wzsx_01_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_01_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1752",wzsx_01_Input.text)
                wzsx_01_Text.visible = true
                wzsx_01_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_01_Input.forceActiveFocus()
                wzsx_01_Input.text = wzsx_01_Text.text
                wzsx_01_Input.visible = true
                wzsx_01_Text.visible = false
                wzsx_01_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 155
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_02_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit02_Any
        }

        TextInput{          // 位置上限 02
            id: wzsx_02_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_02_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1758",wzsx_02_Input.text)
                wzsx_02_Text.visible = true
                wzsx_02_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_02_Input.forceActiveFocus()
                wzsx_02_Input.text = wzsx_02_Text.text
                wzsx_02_Input.visible = true
                wzsx_02_Text.visible = false
                wzsx_02_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 230
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_03_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit03_Any
        }

        TextInput{          // 位置上限 03
            id: wzsx_03_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_03_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1764",wzsx_03_Input.text)
                wzsx_03_Text.visible = true
                wzsx_03_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_03_Input.forceActiveFocus()
                wzsx_03_Input.text = wzsx_03_Text.text
                wzsx_03_Input.visible = true
                wzsx_03_Text.visible = false
                wzsx_03_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 305
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_04_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit04_Any
        }

        TextInput{          // 位置上限 04
            id: wzsx_04_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_04_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1770",wzsx_04_Input.text)
                wzsx_04_Text.visible = true
                wzsx_04_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_04_Input.forceActiveFocus()
                wzsx_04_Input.text = wzsx_04_Text.text
                wzsx_04_Input.visible = true
                wzsx_04_Text.visible = false
                wzsx_04_Input.selectAll()
            }
        }
    }
    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 380
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_05_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit05_Any
        }

        TextInput{          // 位置上限 05
            id: wzsx_05_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_05_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1776",wzsx_05_Input.text)
                wzsx_05_Text.visible = true
                wzsx_05_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_05_Input.forceActiveFocus()
                wzsx_05_Input.text = wzsx_05_Text.text
                wzsx_05_Input.visible = true
                wzsx_05_Text.visible = false
                wzsx_05_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 455
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_06_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit06_Any
        }

        TextInput{          // 位置上限 06
            id: wzsx_06_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_06_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1782",wzsx_06_Input.text)
                wzsx_06_Text.visible = true
                wzsx_06_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_06_Input.forceActiveFocus()
                wzsx_06_Input.text = wzsx_06_Text.text
                wzsx_06_Input.visible = true
                wzsx_06_Text.visible = false
                wzsx_06_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 530
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_07_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit07_Any
        }

        TextInput{          // 位置上限 07
            id: wzsx_07_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_07_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1788",wzsx_07_Input.text)
                wzsx_07_Text.visible = true
                wzsx_07_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_07_Input.forceActiveFocus()
                wzsx_07_Input.text = wzsx_07_Text.text
                wzsx_07_Input.visible = true
                wzsx_07_Text.visible = false
                wzsx_07_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 605
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_08_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit08_Any
        }

        TextInput{          // 位置上限 08
            id: wzsx_08_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_08_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1794",wzsx_08_Input.text)
                wzsx_08_Text.visible = true
                wzsx_08_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_08_Input.forceActiveFocus()
                wzsx_08_Input.text = wzsx_08_Text.text
                wzsx_08_Input.visible = true
                wzsx_08_Text.visible = false
                wzsx_08_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 680
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_09_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit09_Any
        }

        TextInput{          // 位置上限 09
            id: wzsx_09_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_09_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1800",wzsx_09_Input.text)
                wzsx_09_Text.visible = true
                wzsx_09_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_09_Input.forceActiveFocus()
                wzsx_09_Input.text = wzsx_09_Text.text
                wzsx_09_Input.visible = true
                wzsx_09_Text.visible = false
                wzsx_09_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 755
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_10_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit10_Any
        }

        TextInput{          // 位置上限 10
            id: wzsx_10_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_10_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1806",wzsx_10_Input.text)
                wzsx_10_Text.visible = true
                wzsx_10_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_10_Input.forceActiveFocus()
                wzsx_10_Input.text = wzsx_10_Text.text
                wzsx_10_Input.visible = true
                wzsx_10_Text.visible = false
                wzsx_10_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 830
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_11_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit11_Any
        }

        TextInput{          // 位置上限 11
            id: wzsx_11_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_11_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1812",wzsx_11_Input.text)
                wzsx_11_Text.visible = true
                wzsx_11_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_11_Input.forceActiveFocus()
                wzsx_11_Input.text = wzsx_11_Text.text
                wzsx_11_Input.visible = true
                wzsx_11_Text.visible = false
                wzsx_11_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 905
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_12_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit12_Any
        }

        TextInput{          // 位置上限 12
            id: wzsx_12_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_12_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1818",wzsx_12_Input.text)
                wzsx_12_Text.visible = true
                wzsx_12_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_12_Input.forceActiveFocus()
                wzsx_12_Input.text = wzsx_12_Text.text
                wzsx_12_Input.visible = true
                wzsx_12_Text.visible = false
                wzsx_12_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 980
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_13_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit13_Any
        }

        TextInput{          // 位置上限 13
            id: wzsx_13_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_13_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1824",wzsx_13_Input.text)
                wzsx_13_Text.visible = true
                wzsx_13_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_13_Input.forceActiveFocus()
                wzsx_13_Input.text = wzsx_13_Text.text
                wzsx_13_Input.visible = true
                wzsx_13_Text.visible = false
                wzsx_13_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 1055
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_14_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit14_Any
        }

        TextInput{          // 位置上限 14
            id: wzsx_14_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_14_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1830",wzsx_14_Input.text)
                wzsx_14_Text.visible = true
                wzsx_14_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_14_Input.forceActiveFocus()
                wzsx_14_Input.text = wzsx_14_Text.text
                wzsx_14_Input.visible = true
                wzsx_14_Text.visible = false
                wzsx_14_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 1130
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_15_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit15_Any
        }

        TextInput{          // 位置下限 15
            id: wzsx_15_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_15_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1836",wzsx_15_Input.text)
                wzsx_15_Text.visible = true
                wzsx_15_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_15_Input.forceActiveFocus()
                wzsx_15_Input.text = wzsx_15_Text.text
                wzsx_15_Input.visible = true
                wzsx_15_Text.visible = false
                wzsx_15_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 1205
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_16_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit16_Any
        }

        TextInput{          // 位置上限 16
            id: wzsx_16_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_16_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1842",wzsx_16_Input.text)
                wzsx_16_Text.visible = true
                wzsx_16_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_16_Input.forceActiveFocus()
                wzsx_16_Input.text = wzsx_16_Text.text
                wzsx_16_Input.visible = true
                wzsx_16_Text.visible = false
                wzsx_16_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 1280
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_17_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit17_Any
        }

        TextInput{          // 位置上限 17
            id: wzsx_17_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_17_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1848",wzsx_17_Input.text)
                wzsx_17_Text.visible = true
                wzsx_17_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_17_Input.forceActiveFocus()
                wzsx_17_Input.text = wzsx_17_Text.text
                wzsx_17_Input.visible = true
                wzsx_17_Text.visible = false
                wzsx_17_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 1355
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_18_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit18_Any
        }

        TextInput{          // 位置上限 18
            id: wzsx_18_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_18_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1854",wzsx_18_Input.text)
                wzsx_18_Text.visible = true
                wzsx_18_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_18_Input.forceActiveFocus()
                wzsx_18_Input.text = wzsx_18_Text.text
                wzsx_18_Input.visible = true
                wzsx_18_Text.visible = false
                wzsx_18_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 1430
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_19_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit19_Any
        }

        TextInput{          // 位置上限 19
            id: wzsx_19_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_19_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1860",wzsx_19_Input.text)
                wzsx_19_Text.visible = true
                wzsx_19_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_19_Input.forceActiveFocus()
                wzsx_19_Input.text = wzsx_19_Text.text
                wzsx_19_Input.visible = true
                wzsx_19_Text.visible = false
                wzsx_19_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 260
        anchors.top: backGround.top
        anchors.topMargin: 1505
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzsx_20_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_UpLimit20_Any
        }

        TextInput{          // 位置上限 20
            id: wzsx_20_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzsx_20_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1866",wzsx_20_Input.text)
                wzsx_20_Text.visible = true
                wzsx_20_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzsx_20_Input.forceActiveFocus()
                wzsx_20_Input.text = wzsx_20_Text.text
                wzsx_20_Input.visible = true
                wzsx_20_Text.visible = false
                wzsx_20_Input.selectAll()
            }
        }
    }


    Text{
        anchors.left: backGround.left
        anchors.leftMargin: 530
        anchors.top: backGround.top
        anchors.topMargin: 30
        font.pixelSize: 30
        font.bold: true
        text: qsTr("补偿值")
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 80
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_01_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate01_Any
        }

        TextInput{          // 位置补偿 01
            id: wzbc_01_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_01_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1754",wzbc_01_Input.text)
                wzbc_01_Text.visible = true
                wzbc_01_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_01_Input.forceActiveFocus()
                wzbc_01_Input.text = wzbc_01_Text.text
                wzbc_01_Input.visible = true
                wzbc_01_Text.visible = false
                wzbc_01_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 155
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_02_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate02_Any
        }

        TextInput{          // 位置补偿 02
            id: wzbc_02_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_02_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1760",wzbc_02_Input.text)
                wzbc_02_Text.visible = true
                wzbc_02_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_02_Input.forceActiveFocus()
                wzbc_02_Input.text = wzbc_02_Text.text
                wzbc_02_Input.visible = true
                wzbc_02_Text.visible = false
                wzbc_02_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 230
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_03_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate03_Any
        }

        TextInput{          // 位置补偿 03
            id: wzbc_03_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_03_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1766",wzbc_03_Input.text)
                wzbc_03_Text.visible = true
                wzbc_03_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_03_Input.forceActiveFocus()
                wzbc_03_Input.text = wzbc_03_Text.text
                wzbc_03_Input.visible = true
                wzbc_03_Text.visible = false
                wzbc_03_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 305
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_04_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate04_Any
        }

        TextInput{          // 位置补偿 04
            id: wzbc_04_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_04_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1772",wzbc_04_Input.text)
                wzbc_04_Text.visible = true
                wzbc_04_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_04_Input.forceActiveFocus()
                wzbc_04_Input.text = wzbc_04_Text.text
                wzbc_04_Input.visible = true
                wzbc_04_Text.visible = false
                wzbc_04_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 380
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_05_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate05_Any
        }

        TextInput{          // 位置补偿 05
            id: wzbc_05_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_05_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1778",wzbc_05_Input.text)
                wzbc_05_Text.visible = true
                wzbc_05_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_05_Input.forceActiveFocus()
                wzbc_05_Input.text = wzbc_05_Text.text
                wzbc_05_Input.visible = true
                wzbc_05_Text.visible = false
                wzbc_05_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 455
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_06_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate06_Any
        }

        TextInput{          // 位置补偿 06
            id: wzbc_06_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_06_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1784",wzbc_06_Input.text)
                wzbc_06_Text.visible = true
                wzbc_06_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_06_Input.forceActiveFocus()
                wzbc_06_Input.text = wzbc_06_Text.text
                wzbc_06_Input.visible = true
                wzbc_06_Text.visible = false
                wzbc_06_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 530
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_07_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate07_Any
        }

        TextInput{          // 位置补偿 07
            id: wzbc_07_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_07_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1790",wzbc_07_Input.text)
                wzbc_07_Text.visible = true
                wzbc_07_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_07_Input.forceActiveFocus()
                wzbc_07_Input.text = wzbc_07_Text.text
                wzbc_07_Input.visible = true
                wzbc_07_Text.visible = false
                wzbc_07_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 605
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_08_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate08_Any
        }

        TextInput{          // 位置补偿 08
            id: wzbc_08_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_08_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1796",wzbc_08_Input.text)
                wzbc_08_Text.visible = true
                wzbc_08_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_08_Input.forceActiveFocus()
                wzbc_08_Input.text = wzbc_08_Text.text
                wzbc_08_Input.visible = true
                wzbc_08_Text.visible = false
                wzbc_08_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 680
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_09_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate09_Any
        }

        TextInput{          // 位置补偿 09
            id: wzbc_09_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_09_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1802",wzbc_09_Input.text)
                wzbc_09_Text.visible = true
                wzbc_09_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_09_Input.forceActiveFocus()
                wzbc_09_Input.text = wzbc_09_Text.text
                wzbc_09_Input.visible = true
                wzbc_09_Text.visible = false
                wzbc_09_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 755
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_10_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate10_Any
        }

        TextInput{          // 位置上限 10
            id: wzbc_10_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_10_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1808",wzbc_10_Input.text)
                wzbc_10_Text.visible = true
                wzbc_10_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_10_Input.forceActiveFocus()
                wzbc_10_Input.text = wzbc_10_Text.text
                wzbc_10_Input.visible = true
                wzbc_10_Text.visible = false
                wzbc_10_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 830
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_11_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate11_Any
        }

        TextInput{          // 位置补偿 11
            id: wzbc_11_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_11_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1814",wzbc_11_Input.text)
                wzbc_11_Text.visible = true
                wzbc_11_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_11_Input.forceActiveFocus()
                wzbc_11_Input.text = wzbc_11_Text.text
                wzbc_11_Input.visible = true
                wzbc_11_Text.visible = false
                wzbc_11_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 905
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_12_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate12_Any
        }

        TextInput{          // 位置补偿 12
            id: wzbc_12_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_12_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1820",wzbc_12_Input.text)
                wzbc_12_Text.visible = true
                wzbc_12_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_12_Input.forceActiveFocus()
                wzbc_12_Input.text = wzbc_12_Text.text
                wzbc_12_Input.visible = true
                wzbc_12_Text.visible = false
                wzbc_12_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 980
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_13_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate13_Any
        }

        TextInput{          // 位置补偿 13
            id: wzbc_13_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_13_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1826",wzbc_13_Input.text)
                wzbc_13_Text.visible = true
                wzbc_13_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_13_Input.forceActiveFocus()
                wzbc_13_Input.text = wzbc_13_Text.text
                wzbc_13_Input.visible = true
                wzbc_13_Text.visible = false
                wzbc_13_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 1055
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_14_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate14_Any
        }

        TextInput{          // 位置补偿 14
            id: wzbc_14_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_14_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1832",wzbc_14_Input.text)
                wzbc_14_Text.visible = true
                wzbc_14_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_14_Input.forceActiveFocus()
                wzbc_14_Input.text = wzbc_14_Text.text
                wzbc_14_Input.visible = true
                wzbc_14_Text.visible = false
                wzbc_14_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 1130
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_15_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate15_Any
        }

        TextInput{          // 位置下限 15
            id: wzbc_15_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_15_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1838",wzbc_15_Input.text)
                wzbc_15_Text.visible = true
                wzbc_15_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_15_Input.forceActiveFocus()
                wzbc_15_Input.text = wzbc_15_Text.text
                wzbc_15_Input.visible = true
                wzbc_15_Text.visible = false
                wzbc_15_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 1205
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_16_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate16_Any
        }

        TextInput{          // 位置补偿 16
            id: wzbc_16_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_16_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1844",wzbc_16_Input.text)
                wzbc_16_Text.visible = true
                wzbc_16_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_16_Input.forceActiveFocus()
                wzbc_16_Input.text = wzbc_16_Text.text
                wzbc_16_Input.visible = true
                wzbc_16_Text.visible = false
                wzbc_16_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 1280
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_17_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate17_Any
        }

        TextInput{          // 位置补偿 17
            id: wzbc_17_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_17_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1850",wzbc_17_Input.text)
                wzbc_17_Text.visible = true
                wzbc_17_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_17_Input.forceActiveFocus()
                wzbc_17_Input.text = wzbc_17_Text.text
                wzbc_17_Input.visible = true
                wzbc_17_Text.visible = false
                wzbc_17_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 1355
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_18_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate18_Any
        }

        TextInput{          // 位置补偿 18
            id: wzbc_18_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_18_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1856",wzbc_18_Input.text)
                wzbc_18_Text.visible = true
                wzbc_18_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_18_Input.forceActiveFocus()
                wzbc_18_Input.text = wzbc_18_Text.text
                wzbc_18_Input.visible = true
                wzbc_18_Text.visible = false
                wzbc_18_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 1430
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_19_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate19_Any
        }

        TextInput{          // 位置补偿 19
            id: wzbc_19_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_19_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1862",wzbc_19_Input.text)
                wzbc_19_Text.visible = true
                wzbc_19_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_19_Input.forceActiveFocus()
                wzbc_19_Input.text = wzbc_19_Text.text
                wzbc_19_Input.visible = true
                wzbc_19_Text.visible = false
                wzbc_19_Input.selectAll()
            }
        }
    }

    Rectangle{
        anchors.left: backGround.left
        anchors.leftMargin: 480
        anchors.top: backGround.top
        anchors.topMargin: 1505
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "black"

        Text{
            id: wzbc_20_Text
            anchors.centerIn: parent
            font.pixelSize:30
            font.bold: true
            visible: true
            text: Cpp_Connect.Location_Compensate20_Any
        }

        TextInput{          // 位置补偿 20
            id: wzbc_20_Input
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            font.italic: true
            visible: false
            maximumLength: 10
            // text: wzbc_20_Text.text

            onEditingFinished: {
                Cpp_Connect.write_modbus_rtu_Hold_F("1868",wzbc_20_Input.text)
                wzbc_20_Text.visible = true
                wzbc_20_Input.visible = false
            }
        }

        MouseArea{
            anchors.fill: parent

            onClicked: {
                wzbc_20_Input.forceActiveFocus()
                wzbc_20_Input.text = wzbc_20_Text.text
                wzbc_20_Input.visible = true
                wzbc_20_Text.visible = false
                wzbc_20_Input.selectAll()
            }
        }
    }

    Text{
        anchors.left: backGround.left
        anchors.leftMargin: 740
        anchors.top: backGround.top
        anchors.topMargin: 30
        font.pixelSize: 30
        font.bold: true
        text: qsTr("启用开关")
    }


    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 80
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn01_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn01_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn01_Any)
                {
                    console.log("1 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("401","1")
                }
                else
                {
                    console.log("1 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("401","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 155
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn02_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn02_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn02_Any)
                {
                    console.log("2 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("402","1")
                }
                else
                {
                    console.log("2 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("402","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 230
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn03_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn03_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn03_Any)
                {
                    console.log("3 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("403","1")
                }
                else
                {
                    console.log("3 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("403","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 305
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn04_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn04_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn04_Any)
                {
                    console.log("4 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("404","1")
                }
                else
                {
                    console.log("4 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("404","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 380
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn05_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn05_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn05_Any)
                {
                    console.log("5 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("405","1")
                }
                else
                {
                    console.log("5 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("405","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 455
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn06_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn06_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn06_Any)
                {
                    console.log("6 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("406","1")
                }
                else
                {
                    console.log("6 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("406","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 530
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn07_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn07_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn07_Any)
                {
                    console.log("7 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("407","1")
                }
                else
                {
                    console.log("7 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("407","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 605
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn08_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn08_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn08_Any)
                {
                    console.log("8 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("408","1")
                }
                else
                {
                    console.log("8 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("408","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 680
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn09_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn09_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn09_Any)
                {
                    console.log("9 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("409","1")
                }
                else
                {
                    console.log("9 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("409","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 755
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn10_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn10_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn10_Any)
                {
                    console.log("10 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("410","1")
                }
                else
                {
                    console.log("10 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("410","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 830
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn11_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn11_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn11_Any)
                {
                    console.log("11 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("411","1")
                }
                else
                {
                    console.log("11 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("411","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 905
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn12_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn12_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn12_Any)
                {
                    console.log("12 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("412","1")
                }
                else
                {
                    console.log("12 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("412","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 980
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn13_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn13_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn13_Any)
                {
                    console.log("13 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("413","1")
                }
                else
                {
                    console.log("13 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("413","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 1055
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn14_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn14_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn14_Any)
                {
                    console.log("14 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("414","1")
                }
                else
                {
                    console.log("14 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("414","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 1130
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn15_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn15_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn15_Any)
                {
                    console.log("15 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("415","1")
                }
                else
                {
                    console.log("15 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("415","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 1205
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn16_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn16_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn16_Any)
                {
                    console.log("16 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("416","1")
                }
                else
                {
                    console.log("16 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("416","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 1280
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn17_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn17_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn17_Any)
                {
                    console.log("17 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("417","1")
                }
                else
                {
                    console.log("17 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("417","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 1355
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn18_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn18_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn18_Any)
                {
                    console.log("18 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("418","1")
                }
                else
                {
                    console.log("18 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("418","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 1430
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn19_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn19_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn19_Any)
                {
                    console.log("19 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("419","1")
                }
                else
                {
                    console.log("19 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("419","0")
                }
            }
        }
    }

    Rectangle{
        anchors.left: parent.left
        anchors.leftMargin: 700
        anchors.top: parent.top
        anchors.topMargin: 1505
        width: 200
        height: 70
        radius: 10
        border.width: 1
        border.color: "#f0f8ff"

        color: Cpp_Connect.CompensateBtn20_Any ? "#ff3606" : "#006cee"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            visible: true
            text: Cpp_Connect.CompensateBtn20_Any ? qsTr("已启用") : qsTr("已禁用")
        }
        MouseArea{
            anchors.fill: parent

            onClicked: {
                parent.forceActiveFocus()

                if(!Cpp_Connect.CompensateBtn20_Any)
                {
                    console.log("20 - 已启用")
                    Cpp_Connect.write_modbus_rtu_Coils("420","1")
                }
                else
                {
                    console.log("20 - 已禁用")
                    Cpp_Connect.write_modbus_rtu_Coils("420","0")
                }
            }
        }
    }


    Rectangle{
        anchors.right: parent.right
        anchors.rightMargin: 10
        anchors.top: parent.top
        anchors.topMargin: 500
        width: 100
        height: 500
        radius: 10
        color: "#006cee"
        border.width: 1
        border.color: "#f0f8ff"

        Text{
            anchors.centerIn: parent
            font.pixelSize: 30
            font.bold: true
            text: qsTr("返"+"\n"+"\n"+"\n"+"\n"+"\n"+"\n"+"\n"+"\n"+"回")
        }

        MouseArea{
            anchors.fill: parent

            onPressed: {
                parent.color = "#ff3606"
            }

            onReleased: {
                parent.color = "#006cee"
                anyLocationCompensate.visible = false
                locationCompensateSetting.visible = true
                Cpp_Connect.pageNumber = 16
            }
        }
    }



}
